<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_党员信息管理系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/partymember/partypost" aria-expanded="false">党内任职管理 </a></li>
                        <li class="active"><a href="/app/core/partymember/partypost?view=create" aria-expanded="true">创建党内任职</a></li>

                    </ul>
                    <div class="tab-content tabs-flat" style="padding-top: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                <form class="form-horizontal">
                                    <table class="table table-hover table-striped table-bordered">
                                        <tr>
                                            <td width="20%">党员姓名：</td>
                                            <td width="30%"><input placeholder="党员姓名" type="text" name="memberId" id="memberId" class="form-control" maxlength="50" readonly="readonly" opt-id="memberId"
                                                                   onclick="selectPartyMember(this,'false');"></td>
                                            <td width="20%">当前任职状态：</td>
                                            <td width="30%"><select class="form-control" id="postType" name="postType" style="border-radius: 0px;">
                                                <option value="1">不在任</option>
                                                <option value="2">在任</option>
                                                <option value="3">挂任</option>
                                                <option value="4">试用</option>
                                            </select></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">任职党支部名称：</td>
                                            <td width="30%"><input placeholder="任职党支部名称" type="text" name="partyOrgId" id="partyOrgId" class="form-control" maxlength="50" readonly="readonly">
                                                <div id="menuContent" class="menuContent">
                                                    <ul id="menuTree" class="ztree"></ul>
                                                </div>
                                            </td>
                                            <td width="20%">任职党组织名称补充：</td>
                                            <td width="30%"><input placeholder="任职党组织名称补充" type="text" name="otherPartyOrgName" id="otherPartyOrgName" class="form-control" maxlength="50"></td>

                                        </tr>
                                        <tr>
                                            <td width="20%">党内职务：</td>
                                            <td width="30%" colspan="3"><input placeholder="党内职务" type="text" name="govPost" id="govPost" class="form-control" maxlength="50" readonly="readonly">
                                                <div id="govPostContent" class="menuContent">
                                                    <ul id="govPostTree" class="ztree"></ul>
                                                </div>
                                            </td>

                                        </tr>
                                        <tr>
                                            <td width="20%">连任届次：</td>
                                            <td width="30%"><input placeholder="连任届次" type="text" name="deadline" id="deadline" class="form-control" maxlength="50"></td>
                                            <td width="20%">任职方式：</td>
                                            <td width="30%"><select class="form-control" id="takeType" name="takeType" style="border-radius: 0px;">
                                                <option value="1">党委决定任职</option>
                                                <option value="2">差额选举</option>
                                                <option value="3">等额选举</option>
                                            </select></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">任职起始日期：</td>
                                            <td width="30%"><input placeholder="任职起始日期" type="text" name="beginTime" id="beginTime" class="form-control" maxlength="20" readonly="readonly"></td>
                                            <td width="20%">任职结束日期：</td>
                                            <td width="30%"><input placeholder="任职结束日期" type="text" name="endTime" id="endTime" class="form-control" maxlength="20" readonly="readonly"></td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">备注说明:</td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                <div id="remark" name="remark"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">${i18n('attach')}：</td>
                                            <td width="80%" colspan="3">
                                                <div id="show_attach"></div>
                                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('party','attach');" hidefocus="true"
                                                                                                                          maxlength="1" id="attach" name="attach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="attach" onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" align="center"><a id="createbut" href="javascript:void(0);" class="btn btn-primary js-add-save">创&nbsp;&nbsp;建</a></td>
                                        </tr>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/govselect/govselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/partymember/partypost.js"></script>
</body>
</html>
